projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cb50ac
)
x11: Stop setting device keys
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 9 Jun 2020 19:05:55 +0000
(15:05 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 9 Jun 2020 19:05:55 +0000
(15:05 -0400)
This is very vestigial functionality, and basically
unused.
gdk/x11/gdkdevicemanager-xi2.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkdevicemanager-xi2.c
b/gdk/x11/gdkdevicemanager-xi2.c
index 2fa6a749c584182839432e9ca54bea39469fe48a..13197cccf407d527fa78be6d37a83a2a2e7eaa3a 100644
(file)
--- a/
gdk/x11/gdkdevicemanager-xi2.c
+++ b/
gdk/x11/gdkdevicemanager-xi2.c
@@
-261,13
+261,7
@@
translate_device_classes (GdkDisplay *display,
{
case XIKeyClass:
{
- XIKeyClassInfo *key_info = (XIKeyClassInfo *) class_info;
- gint j;
-
- _gdk_device_set_keys (device, key_info->num_keycodes);
-
- for (j = 0; j < key_info->num_keycodes; j++)
- gdk_device_set_key (device, j, key_info->keycodes[j], 0);
+ /* Not used */
}
break;
case XIValuatorClass: